package com.campus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName account_map_openid
 */
@TableName(value ="account_map_openid")
@Data
public class AccountMapOpenid implements Serializable {

    public AccountMapOpenid(String account,String openid){
        this.account=account;
        this.openid=openid;
    }
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer  id;

    /**
     * 
     */
    @TableField(value = "account")
    private String account;

    /**
     * 
     */
    @TableField(value = "openid")
    private String openid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}